ID = input("请输入ID:")
flag1 = False
for i in ID:
    if i.isalnum() or i.isalpha() or i =="_":
        flag1 = True
    else:
        flag1 = False
if len(ID)>8:
    print("长度不能超过8位")
if not flag1:
    print("只能由数字、字母、下划线组成")

EMAIL = input("请输入邮箱：")
flag2 = False
for i in EMAIL:
    if  i=="@" or i==".":
        flag2 = True
    else:
        flag2 = False
if not flag2:
    print("邮件格式不正确")

num = input("请输入身份证号:")
if len(num)!=18:
    print("身份证号格式不正确")

name = input("请输入姓名：")
flag3 = False
for i in name:
    if ord(i)>19968 and ord(i)<40869:
        flag3 = True
if not flag3 or len(name)>4:
    print("姓名格式不正确")
